<!--
 @author: zhangxt
 @date: 2023/9/28
 @description: 首页
-->
<template>
  <div class="container">
    <div class="title">{{ data.title }}</div>
  </div>
</template>

<script setup lang="ts">
import { reactive, onMounted } from 'vue'

const data = reactive({
  title: '首页'
})

const init = () => {
  console.log(data.title)
}

onMounted(() => {
  init()
})
</script>

<style scoped lang="scss">
.container{
  .title{
    font-size: 28px;
  }
}
</style>
